//
//  TermsOfUseViewController.m
//  Kids
//
//  Created by LiTengFei on 14/11/30.
//  Copyright (c) 2014年 90's Technology Co.Ltd. All rights reserved.
//

#import "TermsOfUseViewController.h"

@interface TermsOfUseViewController ()
@property (nonatomic,strong) UIWebView * showView;
@end

@implementation TermsOfUseViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    NSString * path = [[NSBundle mainBundle] pathForResource:@"use_item" ofType:@"html"];
    
    NSString * content = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
    
    self.showView = [[UIWebView alloc]initWithFrame:[[UIScreen mainScreen]bounds]];
    
    [self.showView loadHTMLString:content baseURL:nil];
    
    [self.view addSubview:self.showView];
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
}

@end
